package com.aixs.crud.contorller;

import com.aixs.crud.service.IUserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/")
public class IndexController {


    @GetMapping("hello")
    public String hello() {
        return "hello";
    }
    @GetMapping("index")
    public String index() {
        return "index";
    }




}
